package com.gzgy.ustore.api.model;

import com.gzgy.ustore.api.common.util.Constant;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by yimi on 2017/7/3.
 */
public class ApkListModel implements Serializable {

    private static final long serialVersionUID = -76000635043358549L;

    private String appName;

    private String appVersionName;

    private String appPackageName;

    private String appLogoPath;

    private String appPath;

    private Double appSize;

    private String detailDesc;

    private String updateDesc;

    private String author;

    private Date date;

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getAppVersionName() {
        return appVersionName;
    }

    public void setAppVersionName(String appVersionName) {
        this.appVersionName = appVersionName;
    }

    public String getAppPackageName() {
        return appPackageName;
    }

    public void setAppPackageName(String appPackageName) {
        this.appPackageName = appPackageName;
    }

    public String getAppLogoPath() {
        return Constant.getAppPath(appLogoPath);
    }

    public void setAppLogoPath(String appLogoPath) {
        this.appLogoPath = appLogoPath;
    }

    public String getAppPath() {
        return Constant.getAppPath(appPath);
    }

    public void setAppPath(String appPath) {
        this.appPath = appPath;
    }

    public Double getAppSize() {
        return appSize;
    }

    public void setAppSize(Double appSize) {
        this.appSize = appSize;
    }

    public String getDetailDesc() {
        return detailDesc==null?"":detailDesc;
    }

    public void setDetailDesc(String detailDesc) {
        this.detailDesc = detailDesc;
    }

    public String getUpdateDesc() {
        return updateDesc==null?"":updateDesc;
    }

    public void setUpdateDesc(String updateDesc) {
        this.updateDesc = updateDesc;
    }

    public String getAuthor() {
        return author==null?"":author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
